/*
 * Copyright © 2017-2023 TemplateFactory(xiaoymin@foxmail.com)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */


package com.github.xiaoymin.plus;

import com.github.xiaoymin.core.database.DataSourceConfig;

import java.util.List;

/**
 * 自动生成配置文件
 * @author <a href="mailto:xiaoymin@foxmail.com">xiaoymin@foxmail.com</a>
 * 2021/05/28 13:55
 * @since template-factory 1.0
 */
public class MyBatisPlusConfiguration {
    
    /**
     * 数据源配置
     */
    private DataSourceConfig dataSourceConfig;
    
    /**
     * 作者
     */
    private String author;
    
    /**
     * 模块名称
     */
    private String moduleName;
    
    /**
     * 父类包名
     */
    private String parentPackage;
    
    /**
     * 表名
     */
    private List<String> tables;
    
    public DataSourceConfig getDataSourceConfig() {
        return dataSourceConfig;
    }
    
    public void setDataSourceConfig(DataSourceConfig dataSourceConfig) {
        this.dataSourceConfig = dataSourceConfig;
    }
    
    public String getAuthor() {
        return author;
    }
    
    public void setAuthor(String author) {
        this.author = author;
    }
    
    public String getModuleName() {
        return moduleName;
    }
    
    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }
    
    public String getParentPackage() {
        return parentPackage;
    }
    
    public void setParentPackage(String parentPackage) {
        this.parentPackage = parentPackage;
    }
    
    public List<String> getTables() {
        return tables;
    }
    
    public void setTables(List<String> tables) {
        this.tables = tables;
    }
}
